/**
 * Video. 
 * by Alvaro Lopez and Juan Baquero
 * 
 *Put your VYM files inside the Sketch folder.
 *Press the arrow keys or click the nodes for browse the map.
 *
 *Video:
 *Put your video files inside the "data/video" folder that you must create.
 *For watch the videos, press the 'V' button on the sketch.
 *Check out the instructions in the help menu pressing the 'H' button on
 *the sketch. 
 *
 *For Web Video view reference "vym.processing.core.graphics.multimedia"
 *
 */

import remixlab.remixvym.*;
import codeanticode.gsvideo.*;
import unplayer.videoplayer.*;
import unplayer.youtubeplayer.*;

void setup() {
  size(800,600,P2D);
  graph = new SceneMindMap(this);                            
  graph.setMap("video.xml");
}

void draw() {
  graph.paint();
}

public void movieEvent(GSMovie myMovie) {
  myMovie.read();
}

SceneMindMap graph;



